Mollie\WooCommerce\Gateway\GatewayModule B

Total Complexity 95
Dependencies 21
Dependents 0
Total lines 413
Lines of code 314
Logical lines of code 221
Comment lines 65
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
run()
C
31 22 108
addPhoneWhenRest()
A
54 9 21
addPaymentMethodMandatoryFieldsPhoneVerification()
A
55 8 19
paymentButtonsBootstrap()
S
56 7 19
disableMollieOnPaymentMethodChange()
S
60 7 12
fieldsMandatoryPayForOrder()
S
58 6 14
switchFields()
S
59 6 12
addBirthdateWhenRest()
S
58 5 14
addPaymentMethodMandatoryFields()
S
56 4 17
addShopOrderMetabox()
S
58 4 14
instantiatePaymentMethods()
S
59 3 14
setOrderPaidByOtherGateway()
S
62 3 10
services()
S
69 2 7
disableSEPAInCheckout()
S
71 2 6
extensions()
S
69 2 7
in3FieldsMandatory()
S
69 1 6
gatewaySurchargeHandling()
S
81 1 3
isPhoneValid()
S
79 1 3
isBirthValid()
S
80 1 3
buildPaymentMethod()
S
73 1 5